package cn.itcast.service.packing;

import cn.itcast.domain.packing.Finance;
import cn.itcast.domain.packing.FinanceExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FinanceService {

    List<Finance> findAll(FinanceExample example);

    Finance findById(String id);

    void save(Finance finance);

    void update(Finance finance);

    void delete(String id);

    PageInfo findByPage(int pageNum, int pageSize, FinanceExample example);
}